import unittest
from com.wzh.mile.unit_test.common.webdriver_single import WebDriverSingle
from com.wzh.mile.unit_test.toumile_oss.OssLoginUser import OssUserInfo


class OssTestLogin(unittest.TestCase):

    def test_oss_login(self):
        self.driver = WebDriverSingle.get_driver()
        self.driver.get('http://192.168.1.208:8086/')
        self.user_info = OssUserInfo().oss_generate_one()
        user_id = self.user_info.username
        password = self.user_info.password
        self.driver.find_element_by_id('userId').send_keys(user_id)
        
